package com.hobart.learning.lagou.edu.IPersistence.config;

import com.hobart.learning.lagou.edu.IPersistence.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：hobart
 * @date ：Created in 2020-11-11 1:10
 * @description：
 * @modified By：
 * @version: $
 */
public class BoundSql {

    private String sqlTest; // 解析出来的sql

    private List<ParameterMapping> parameterMappings = new ArrayList<>();

    public BoundSql(String sqlTest, List<ParameterMapping> parameterMappings) {
        this.sqlTest = sqlTest;
        this.parameterMappings = parameterMappings;
    }

    public String getSqlTest() {
        return sqlTest;
    }

    public void setSqlTest(String sqlTest) {
        this.sqlTest = sqlTest;
    }

    public List<ParameterMapping> getParameterMappings() {
        return parameterMappings;
    }

    public void setParameterMappings(List<ParameterMapping> parameterMappings) {
        this.parameterMappings = parameterMappings;
    }
}
